package cn.krui.project.bean.system.sys_user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @program: project-system
 * @description: 系统用户实体类
 * @author: admin
 * @create: 2019-10-16
 **/
@ApiModel(value = "sys_user", description = "系统用户实体类")
public class sys_user {
	@ApiModelProperty(value = "主键id")
	private int id; 
	@ApiModelProperty(value = "部门ID")
	private int dept_id;
	@ApiModelProperty(value = "角色ID")
	private int role_id;
	@ApiModelProperty(value = "员工登录账号")
	private String user_name;
	@ApiModelProperty(value = "登录密码")
	private String passwd;
	@ApiModelProperty(value = "员工状态 0=禁用 1=启用 2=未激活")
	private int status;
	@ApiModelProperty(value = "登录错误次数")
	private int error_count;
	@ApiModelProperty(value = "登录token")
	private String token;
	@ApiModelProperty(value = "登录token")
	private String old_token;
	@ApiModelProperty(value = "菜单")
	private String role_menu;
	@ApiModelProperty(value = "权限")
	private String role_permissions;
	@ApiModelProperty(value = "用户组")
	private int group_id;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getDept_id() {
		return dept_id;
	}
	public void setDept_id(int dept_id) {
		this.dept_id = dept_id;
	}
	public int getRole_id() {
		return role_id;
	}
	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	} 
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getError_count() {
		return error_count;
	}
	public void setError_count(int error_count) {
		this.error_count = error_count;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}

	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public String getOld_token() {
		return old_token;
	}
	public void setOld_token(String old_token) {
		this.old_token = old_token;
	}
	public String getRole_menu() {
		return role_menu;
	}
	public void setRole_menu(String role_menu) {
		this.role_menu = role_menu;
	}
	public String getRole_permissions() {
		return role_permissions;
	}
	public void setRole_permissions(String role_permissions) {
		this.role_permissions = role_permissions;
	}
	public int getGroup_id() {
		return group_id;
	}
	public void setGroup_id(int group_id) {
		this.group_id = group_id;
	}
	
}
